package files;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.Reader;
import java.io.StringWriter;
import java.io.Writer;

public class In2String {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Writer writer = new StringWriter();
		char[] buffer = new char[1024];
		Reader reader = new BufferedReader(
                new InputStreamReader(System.in));
        int n;
        try {
			while ((n = reader.read(buffer)) != -1) 
			    writer.write(buffer, 0, n);
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
        System.out.println(writer.toString());
        

	}

}
